package com.zhq.kuaididemo.controller;


import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class LoginController {


    @PostMapping("/login")
    public String login(String username,String password){
        return  "success";
    }

    @GetMapping("test")
    public String test(){
        return  "success";
    }
}
